package com.delicious.entity;

import java.sql.Date;

public class Users {
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Date getLastLoginTime() {
		return LastLoginTime;
	}
	public void setLastLoginTime(Date lastLoginTime) {
		LastLoginTime = lastLoginTime;
	}
	public int getIsAdmin() {
		return isAdmin;
	}
	public void setIsAdmin(int isAdmin) {
		this.isAdmin = isAdmin;
	}
	private int id ; 
	private String username;
	private String password;
	private Date LastLoginTime;
	private int isAdmin;
	
	public Users() {
		// TODO Auto-generated constructor stub
	}
	
	public Users(int id, String username, String password, Date lastLoginTime,
			int isAdmin) {
		super();
		this.id = id;
		this.username = username;
		this.password = password;
		LastLoginTime = lastLoginTime;
		this.isAdmin = isAdmin;
	}
}
